<#assign webroot=request.getContextPath()>
<#macro layout myTemplate>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link href="${webroot}/resources/jquery_ui/jquery-ui.css" rel="stylesheet" type="text/css">
<link href="${webroot}/resources/css/xiaoyu_houtai.css" rel="stylesheet" type="text/css">
<link href="${webroot}/resources/css/datepicker_css.css" rel="stylesheet" type="text/css">
<link href="${webroot}/resources/css/date.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="${webroot}/resources/js/jquery-1.7.js"></script>
<script type="text/javascript" src="${webroot}/resources/js/faces.js"></script>
<script type="text/javascript" src="${webroot}/resources/js/ajaxfileupload.js"></script>
<script type="text/javascript" src="${webroot}/resources/js/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="${webroot}/resources/js/jquery-ui-slide.min.js"></script>
<script type="text/javascript" src="${webroot}/resources/js/jquery-ui-sliderAccess.js"></script>
<script type="text/javascript" src="${webroot}/resources/js/jquery-ui-timepicker-addon.js"></script>
<script type="text/javascript" src="${webroot}/resources/js/date.js"></script>
<script type="text/javascript" src="${webroot}/resources/js/jquery.form.js"></script>
<script type="text/javascript" src="${webroot}/resources/js/main.js"></script>
<script type="text/javascript" src="${webroot}/resources/js/pic.js"></script>
<script type="text/javascript" src="${webroot}/resources/js/tips.js"></script>
<script type="text/javascript" src="${webroot}/resources/jquery_ui/jquery-ui.min.js"></script>
<script type="text/javascript" src="${webroot}/resources/jquery_ui/jquery-ui-timepicker-zh-CN.js"></script>
<script type="text/javascript" src="${webroot}/resources/jquery_ui/jquery-ui-datepicker-zh-CN.js"></script>
<script type="text/javascript" src="${webroot}/resources/jquery_ui/show_week.js"></script>
</head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
	body{background:none;}
</style>
<body>
	<div class="top"><h1></h1>
		<span>
		<a class="exit" href="javascript:;" onclick="logout();">退出</a>
		</span>
		<span>欢迎
 		<#if Session.currentUser??>
 			${Session.currentUser.nickname}
 		</#if>
 		</span>
	</div>
 	<table class="layout">
 		<tr>
 			<td class="left_td" id="slide_td">
 				<div class="left"> 
 				 <ul id="menuBar">
 	             	<#include "/common/menuBar.ftl"/>
                 </ul>
  				</div>
 			</td>
 			<td class="center_td">
     			<a href="javascript:;" >
     				<img onclick="slideLeft();" width="7" height="50" src="${webroot}/resources/images/td_center.png">
     			</a>
     		</td>
 			<td class="right_td">
 			   <@myTemplate />
 			</td>
 		</tr>
 	</table>
 	
 	<div class="gray_bg" style="display:none;"></div>
<!--信息提示-->
<div class="tips_success" id="tip"></div>
<!--信息提示-->
<!--loading提示-->
<div class="laoding" id="loading"><img src="${webroot}/resources/images/loading.gif" width="32" height="32"></div>
<div id="pic_a_image"></div>
 </body>
 </html>
 </#macro>